package com.yyw.common.constant.ware.enums;

import lombok.Getter;

/**
 * @author 易煜玮
 * @ClassName PurchaseEnum.java
 * @Description 采购单详情枚举
 * @createTime 2020年11月17日 22:50:00
 */
@Getter
public enum PurchaseDetailEnum {
    CREATED(0, "新建"),
    ASSIGNED(1, "已分配"),
    received(2, "正在采购"),
    finish(3, "已完成"),
    HASERROR(4, "采购失败");

    private Integer code;
    private String value;

    PurchaseDetailEnum(Integer code, String value) {
        this.code = code;
        this.value = value;
    }
}
